/**
 * <strong>Title : EquipmentDownTimeService.java<br>
 * </strong> <strong>Package : cn.b.sky.mes.em.service<br>
 * </strong> <strong>Description : </strong>@类注释说明写在此处@<br>
 * <strong>Create on : 2015年11月19日 上午9:53:49<br>
 * </strong>
 * <p>
 * @author dapeng.li<br>
 * @version <strong>v1.0.0</strong><br>
 * <br>
 *          <strong>修改历史:</strong><br>
 *          修改人 | 修改日期 | 修改描述<br>
 *          -------------------------------------------<br>
 * <br>
 * <br>
 */
package cn.b.sky.mes.em.service;

import java.util.List;

import cn.b.sky.mes.em.model.EquipmentDownTime;
import cn.b.sky.mes.em.model.condition.EquipmentDownTimeCondition;
import cn.b.sky.common.model.BatchJobReport;

/**
 * <strong>Title : EquipmentDownTimeService.java<br></strong>
 * <strong>Package : cn.b.sky.mes.em.service<br></strong>
 * <strong>Description : </strong>设备停机时间业务接口<br> 
 * <strong>Create on : 2015年11月19日 上午9:53:49<br></strong>
 * <p>
 * @author dapeng.li<br>
 * @version <strong>v1.0.0</strong><br>
 * <br>
 * <strong>修改历史:</strong><br>
 * 修改人 | 修改日期 | 修改描述<br>
 * -------------------------------------------<br>
 * <br>
 * <br>
 */
public interface EquipmentDownTimeService {

  List<EquipmentDownTime> selectEquipmentDownTimeListByCondition(EquipmentDownTimeCondition condition);

  int selectEquipmentDownTimeCountByCondition(EquipmentDownTimeCondition condition);

  EquipmentDownTime getEquipmentDownTime(Long id);

  boolean updateEquipmentDownTime(EquipmentDownTime time);

  boolean insertEquipmentDownTime(EquipmentDownTime time);

  BatchJobReport deleteEquipmentDownTime(Long id);

}
